const Mysql = require('node-mysql-promise');

const config = require('../config');

async function run(){
  let mysql;
  let data;
  for(let i=0;i<100;i++){
    mysql = Mysql.createConnection(config.mysql);
    data = await mysql.table('test').select();
    console.log(`i=${i}, `, data);
  }
}

run();